package com.translate.web.service;
import com.basic.service.contract.IBaseService;

import java.util.List;
import java.util.Map;
import java.util.function.Function;

import com.translate.entity.FlowComment;

public interface IFlowCommentService extends IBaseService<FlowComment> { 

	/**
	 * 获取评论数量
	 * @param <VO>
	 * @param vos
	 * @param function
	 * @return
	 */
	<VO> Map<Integer, Integer> getNumberOfCommentsObtained(List<VO> vos, Function<VO, Integer> function);
	
}
